package com.nursinghome.common.mapper;

import com.nursinghome.annotation.Page;
import com.nursinghome.bean.Service;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 程硕
* @createDate 2025-04-07 01:10:33
* @Entity com.nursinghome.bean.Service
*/
public interface ServiceMapper {
    //新增
    Integer insert(Service service);
    //修改
    Integer update(Service service);
    //根据id回显数据
    Service selectById(Integer id);
    //查询所有
    @Page
    List<Service> selectAll(@Param("prop") String prop, @Param("order") String order, @Param("service") Service service);

}
